/* 手机版*/

body {
  position: relative;
  overflow-x: hidden;
  background: #333;
}

.m-top {
  position: absolute;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 60px;
  background: #fff;
}

.m-logo {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
}

.m-logo img {
  height: 74px;
}

.m-top .btn {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  height: 60px;
  padding: 22px 52px 0 10px;
  text-align: center;
}
.m-top .btn::before {
  content: "导航";
  position: absolute;
  right: 10px;
  top: 20px;
  font-size: 18px;
  line-height: 20px;
  color: #000;
}

.m-top .btn span {
  display: block;
  width: 20px;
  height: 3px;
  background: #000;
  transition: 0.3s;
}

.m-top .btn span:nth-child(2) {
  margin: 4px 0;
}

.cross span:nth-of-type(1) {
  transform: translateY(7px) rotate(-45deg);
}

.cross span:nth-of-type(2) {
  opacity: 0;
}

.cross span:nth-of-type(3) {
  transform: translateY(-7px) rotate(45deg);
}

header {
  position: absolute;
  z-index: 99;
  right: -150px;
  top: 0;
  width: 0;
  height: 100%;
  overflow: hidden;
  padding-top: 86px;
  background: #333;
}
.logo {
  display: none;
}
header li a {
  display: block;
  font: 400 16px/36px "微软雅黑";
  color: #fff;
  text-align: center;
}
header li a .en {
  display: none;
}
.menu-down {
  display: none;
}

.fx {
  display: none;
}

.wrapper {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background: #fff;
}

@media (min-width: 1200px) {
  header {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: auto;
    padding: 0 7.2vw;
    overflow: visible;
    background: none;
  }
  .head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #93713b;
  }
  .logo {
    display: block;
    padding: 0.5vw 0 0;
  }
  .logo img {
    width: 9.2vw;
    height: 4.2vw;
  }
  .fx {
    display: block;
    position: absolute;
    left: 7.2vw;
    top: 5.4vw;
  }
  .fx img {
    width: 9.2vw;
  }

  .nav ul {
    display: flex;
  }
  .nav ul li {
    padding: 0 2vw;
    overflow: hidden;
  }
  .nav ul li > a {
    position: relative;
    display: block;
    padding: 1.8vw 0;
    font-weight: bold;
    text-align: center;
  }
  .nav ul a .ch {
    font-size: 0.8vw;
    line-height: 1.2vw;
    color: #000;
  }
  .nav ul a .en {
    display: block;
    position: absolute;
    left: 50%;
    top: 3.4vw;
    width: 4.2vw;
    font-size: 12px;
    line-height: 1;
    color: #93713b;
    transform: translate3d(-50%, 50%, 0);
    opacity: 0;
    transition: 0.3s;
  }
  .nav ul li > a:hover {
    background: url(../images/nav_li_bg.png) no-repeat center center/3vw auto,
      url(../images/nav_li_line.png) no-repeat center bottom/100% 4px;
  }
  .nav ul li > a:hover .en {
    opacity: 1;
    transform: translate3d(-50%, 0, 0);
  }

  /* 下拉 */
  .menu-down {
    position: absolute;
    z-index: -1;
    left: 0;
    top: 5.4vw;
    width: 100%;
    height: 14vw;
    padding: 2vw 12vw 0;
    background: url(../images/nav_menu_bg.png) no-repeat 0 0 / cover;
    border-top: 1px solid #93713b;
  }
  .menu-down-box {
    display: flex;
    justify-content: space-between;
  }
  .menu-title {
    width: 10vw;
    padding: 4vw 0 0;
    text-align: left;
    background: url(../images/nav_li_line.png) no-repeat 7vw 4.8vw/1.4vw 0.4vw;
  }
  .menu-title .ch {
    display: block;
    font-weight: bold;
    font-size: 1.5vw;
    line-height: 2vw;
    color: #c90213;
  }
  .menu-title .en {
    display: block;
    font-size: 14px;
    line-height: 24px;
    color: #93713b;
  }

  .menu-list {
    padding: 0;
  }
  .menu-list a {
    font-size: 0.8vw;
    line-height: 1.6vw;
    color: #000;
    text-align: left;
  }
  .menu-list a:hover {
    color: #c90213;
  }

  .menu-content {
    width: 54vw;
    padding: 1vw 15vw 0 4vw;
  }
  .menu-name {
    font-size: 1.2vw;
    line-height: 1.5vw;
    color: #000;
  }
  .menu-p {
    margin: 1vw 0;
    overflow: hidden;
    font-size: 0.8vw;
    line-height: 1.4vw;
    color: #666666;
  }
  .menu-content a {
    width: 100px;
    font-size: 14px;
    line-height: 28px;
    color: #000;
    text-align: center;
    border: 1px solid #000;
  }
  .menu-content a:hover {
    color: #c90213;
    border-color: #c90213;
  }
  .nav ul li:hover .menu-down {
    display: block;
    z-index: 5;
  }

  .head-tel {
    padding-left: 2.2vw;
    background: url(../images/head_tel.png) no-repeat 0 bottom/1.8vw;
  }
  .head-tel span {
    display: block;
    font-size: 12px;
    line-height: 18px;
  }
  .head-tel p {
    font-weight: 600;
    font-size: 16px;
    line-height: 20px;
  }
}

/* public */

.public-nav ul {
  display: none;
}

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1rem 0 2rem;
}
footer p,
footer a {
  padding: 0 2px;
  font-size: 14px;
  line-height: 20px;
  color: #000;
}
@media (min-width: 1200px) {
  .public {
  }
  .public-nav {
    width: 62.4vw;
    margin: 0 auto;
    padding: 2vw 0 0;
  }
  .public-nav ul {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #bfa781;
    border-bottom: 1px solid #bfa781;
  }
  .public-nav ul li {
    padding: 1vw 0;
  }
  .public-nav ul a {
    display: block;
    font-weight: bold;
    font-size: 0.8vw;
    line-height: 1.2vw;
    color: #000;
  }
  .public-nav ul a:hover {
    color: #c90213;
  }

  footer {
    display: flex;
    justify-content: center;
    padding: 4vw 0 24vw;
  }
  footer p,
  footer a {
    padding: 0 5px;
    font-size: 0.8vw;
    line-height: 2vw;
    color: #000;
  }
}
